package com.king.base;

import com.google.common.base.CharMatcher;

/**
 * @author taomk
 * @version 1.0
 * @since 15-1-25 下午10:16
 */
public class CharMatcherTest {

	public static void main(String [] args) {

		// Guava中CharMatcher的用法
		System.out.println(CharMatcher.DIGIT.retainFrom("some text 89983 and more"));
		System.out.println(CharMatcher.DIGIT.removeFrom("some text 89983 and more"));


	}
}
